<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>事件监听</title>
</head>
<body>
<button>点击</button>
</body>
<script>
    // 需求: 点击了按钮，弹出一个对话框

</script>
</html>